<table cellpadding="0" cellspacing="0" id="tables">

	<tr>
			<th><?php echo 'STT';?></th>
			<th><?php echo 'Thời Gian';?></th>
			<th class="actions"><?php __('Lựa chọn');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($kehoachthangs as $kehoachthang):
		$thanght = date('m',strtotime($kehoachthang['Thoigian']['ngaykt']));
		$class = null;
		$id=null;
		$align =null;
		$i++;
	?>
	<tr<?php echo $class.$id;?>>
		<td ><?php echo $i;?></td>
		<td <?php echo $align?>>
			<?php echo '<strong>'.$kehoachthang['Thoigian']['thoigian'].'</strong>'; ?>
		</td>
       
        
		<td class="actions">
			<?php 
                    	echo $this->Html->link(__('Lũy Kế Tổng Hợp', true), array('controller'=>'kqbanhangtts','action' => 'luyketonghop', $kehoachthang['Kehoach']['id']));
                    ?>
		</td>
		
	</tr>
	<?php
	endforeach; ?>
	</table>